/*
* Copyright (c) 2014 Qunar.com. All Rights Reserved.
*/
package net.oschina.bilbodai.common.beanutil.property.common;

/**
 * @author qt-maodai  Date: 15-8-8 Time: 下午6:00
 * @version $Id$
 */
public class ImmutablePair<K,V> {
    final K left;
    final V right;

    private ImmutablePair(K left, V right) {
        this.left = left;
        this.right = right;
    }

    public static <K, V> ImmutablePair<K, V> make(K left, V right) {
        return new ImmutablePair<K, V>(left, right);
    }

    public K getLeft() {
        return left;
    }

    public V getRight() {
        return right;
    }
}